<?php
class NewsController extends Core_Controller_Action {
	protected $_menuEntry = 'news';
	
    protected $_style = array('/styles/catalog.css', '/styles/other.css');
	
	public function indexAction() {
		$this->view->headTitle ()->exchangeArray ( array () );
		$translationHelper = $this->view->getHelper ( 'T' );
		$this->view->headTitle ( $translationHelper->t ( 'News' ) );
		$this->view->news = new Core_Group ( $this->_api->News->all (), 'year', false );
	}
}